const config = {
    entry: {

        main: './entry.js'
    },
    output: {
        filename: 'bundle.js',
        path: __dirname
    },
    module: {
        rules: [
             {
                 test: /\.css$/, 
                 use:[
                     {loader:'style-loader'},
                     {loader:'css-loader'}
                 ]
            }
        ]
    }
}
module.exports = config;